package cn.hs.ph.dao;

import cn.hs.ph.entity.CourierStation;
import cn.hs.ph.entity.Goods;

import java.util.List;
import java.util.Map;

public interface GoodsDao {
    // 增加
    public int insert(Goods goods);

    // 删除
    public int delete(int goodsId);

    // 修改
    public int update(Goods goods);

    // 查询
    public List<Goods> selectAll(Map<String, String> map);

    // 查询总条数
    public int selectCount(Map<String, String> map);
}
